package com.xja.mapper;

import com.xja.entity.Orderinfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author 周广瑞
 * @date  2022/4/24 19:56
 * 
 */
@Mapper
public interface OrderinfoMapper {
    int deleteByPrimaryKey(Integer oid);

    int insert(Orderinfo record);
    int updateByPrimaryKey(Orderinfo record);

    List<Orderinfo>slectOrder();
    List<Orderinfo> selectByUid(Integer oid);
    List<Orderinfo>selectByBookId(Integer bid);

    Orderinfo selectOrderByOid(Integer oid);

}